import Vue from 'vue'
import  'babel-polyfill';
import 'normalize.css/normalize.css' // A modern alternative to CSS resets
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import locale from 'element-ui/lib/locale/lang/zh-CN' 
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'

import '@/styles/index.scss' // global css

import '@/styles/advance.scss' // 自定义 css

import App from './App'
import router from './router'
import store from './store'

import '@/icons' // icon
import './permission' // permission control

import vMediaQuery from 'v-media-query'
     

/*md5引用*/
import md5 from 'js-md5';
Vue.prototype.$md5 = md5;


Vue.use(vMediaQuery)
Vue.use(mavonEditor)
Vue.use(ElementUI, { locale })
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
